import http from "@/api/api";

// 获取当日营业额
export function getHomeStatics(params) {
	return http.request({
		url: '/mall/largescreen/statistics',
		method: 'get',
		params: params
	})
}

// 获取当日订单量
export function getToadyOrderCountApi(params) {
	return http.request({
		url: '/mall/largescreen/statistics/ordercount',
		method: 'get',
		params: params
	})
}

// 获取当日新增商品
export function getToadyGoodAddApi(params) {
	return http.request({
		url: '/mall/goodsspu/statistics',
		method: 'get',
		params: params
	})
}

// 获取当日新增用户
export function getToadyUsrAddApi(params) {
	return http.request({
		url: '/mall/userinfo/statistics',
		method: 'get',
		params: params
	})
}